package com.yunnuo;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * Created by 魏洪福(15064000912@163.com) on  2018/5/25.
 */
public class YunnuoServletInitializer extends SpringBootServletInitializer
{
    /**
    * @api {title} 容器启动入口
    * @apiName YunnuoServletInitializer
    * @apiGroup main
     *
    * @apiDescription 芸诺后台管理系统容器启动方法
    *
    */
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application)
    {
        return application.sources(YunnuoApplication.class);
    }

}
